#[derive(Debug, Clone)]
pub struct Tracker {
    announce: String,
}

impl Tracker {
    pub fn new(announce: &str) -> Self {
        Self {
            announce: announce.to_owned(),
        }
    }
    pub fn announce(&self) -> &String {
        &self.announce
    }
}

// https://torrent.ubuntu.com/announce

#[cfg(test)]
mod test {

    use crate::tormeta::TorMeta;

    use super::Tracker;

    #[test]
    fn test_new() {
        
    }
}
